/**
 * 预定相关接口
 * @author: Ruan Jiazhen
 * @date: 2024-04-10 11:09:30
 **/
import http from '@/utils/request';

/**
 * 获取预定列表
 * @param page 页码
 * @param pageSize 每页条数
 */
export const reqGetReserveList = (page: number, pageSize: number) =>
  http.$get<{
    totalResult: number;
    totalPage: number;
    list: ResReserveInfoItem[];
  }>('common/reserveList', {
    currentPage: page,
    showCount: pageSize,
  });
